using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace LHS.Core.TableInfo
{
    public class InfoScanResult
    {
        public const string SRTISN = "srtISN";
        public const string CLRISN = "clrISN";
        public const string NSCISNROOT = "nscISNRoot";
        public const string NSCISN = "nscISN";
        public const string SRTSCANOUTLIST = "srtScanOutList";
        public const string SRTOPINION = "srtOpinion";
        public const string SRTSUGGESTION = "srtSuggestion";
        public const string SRTPOSITIONSTATUS = "srtPositionStatus";
        public const string SRTSCANLISTSTRING = "srtScanListString";

        public const string TABLENAME = "ScanResult";

        public static DataTable GetStructure()
        {
            DataTable dt = new DataTable();
            dt.Columns.Add(SRTISN, typeof(int));
            dt.Columns.Add(CLRISN, typeof(int));
            dt.Columns.Add(NSCISNROOT, typeof(int));
            dt.Columns.Add(NSCISN, typeof(int));
            dt.Columns.Add(SRTSCANOUTLIST, typeof(string)); 
            dt.Columns.Add(SRTOPINION, typeof(string));
            dt.Columns.Add(SRTSUGGESTION, typeof(string));
            dt.Columns.Add(SRTPOSITIONSTATUS, typeof(int));
            dt.Columns.Add(SRTSCANLISTSTRING, typeof(string));
            dt.TableName = TABLENAME;
            return dt;
        }

    }
}
